﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Diagnostics;
using System.Dynamic;
using System.Collections;
using System.Runtime.Serialization;

namespace TurboTemplate
{
    public class Profile
    {
        [IgnoreDataMember()]
        public static readonly Profile NewProfile = new Profile() { Name = "New" };

        [DataMember()]
        public string Name { get; set; }
        [DataMember()]
        public string SourcedFromConnection { get; set; }
        [DataMember()]
        public string Filename { get; set; }

        [DataMember()]
        public string ChosenProcedureID { get; set; }
        [DataMember()]
        public string ChosenTemplateID { get; set; }

        [DataMember]
        public List<TransformInstructions> TransformList { get; set; }
        [DataMember()]
        public List<ListWithName> ListSource { get; set; }

        public Profile()
        {
            TransformList = new List<TransformInstructions>();
            ListSource = new List<ListWithName>();
        }
    }
}
